package com.bauer.base.io.file;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.RandomAccessFile;

/**
 * @description:
 * @author: weirui
 * @create: 2020-01-20 11:06
 **/
public class FileSplitor {


    public static void main(String [] args) throws Exception {
        RandomAccessFile file = new RandomAccessFile(new File("C:\\Users\\wangqi\\Desktop\\RESP_IMGDOC0001_HBCMCC_20200113_0001.txt"), "r");

        file.seek(2);
        System.out.println(file.readLine());
    }
}
